﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Linq
{
    class Student
    {
        string firstName;
        string lastName;
        int fn;
        string tel;
        string email;
        List<int> marks;
        int group;
        

        public string FirstName
        {
            get
            {
                return firstName;
            }
            set
            {
                firstName = value;
            }
        }

        public string LastName
        {
            get
            {
                return lastName;
            }
            set
            {
                lastName = value;
            }
        }

        public int Fn
        {
            get
            {
                return fn;
            }
            set
            {
                fn = value;
            }
        }

        public string Tel
        {
            get
            {
                return tel;
            }
            set
            {
                tel = value;
            }
        }

        public string Email
        {
            get
            {
                return email;
            }
            set
            {
                email = value;
            }
        }

        public List<int> Marks
        {
            get
            {
                return marks;
            }
            set
            {
                marks = value;
            }
        }

        public int Group
        {
            get
            {
                return group;
            }
            set
            {
                group = value;
            }
        }

        public Student(string firstName, string lastName, int fn, string tel, string email, List<int> marks, int group)
        {
            this.firstName = firstName;
            this.lastName = lastName;
            this.fn = fn;
            this.tel = tel;
            this.email = email;
            this.marks = marks;
            this.group = group;
        }
    }
}
